package com.yunche.yunchebusiness.mvp.contract

import com.yunche.yunchebusiness.base.mvp.IBasePresenter
import com.yunche.yunchebusiness.base.mvp.IBaseView
import com.yunche.yunchebusiness.entity.LoginEntity

/**
 * Create by Crcker on 2018/12/25 10:30
 * Email: Crcker@163.com
 */


class LoginContract {
    interface View : IBaseView {
        fun loginSuccess(loginEntity: LoginEntity)
    }

    interface Presenter : IBasePresenter<View> {
        fun login(phone: String, password: String)
    }
}